package com.hrm.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {

	public static String formate(Date date){
		return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(date);
	}
	public static void main(String[] args){
		System.out.println(DateUtil.formate(new Date()));
	}
}
